import os
import sys

# Define path to document
sys.path.insert(0, os.path.abspath(".."))

# Define extensions
# Autodoc will recursively search through the source dir (above)
# and generate documentation.
extensions = [
    "sphinx.ext.autodoc",
    "sphinx.ext.autosummary",
    "sphinx.ext.todo",
    "sphinx.ext.viewcode",
]

# Turn on autosummary
autosummary_generate = True

# Patterns of documents that we don't want to document
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "setup.py"]

# Path to the templates directory
templates_path = ["_templates"]

# Path to the static files
html_static_path = ["_static"]

# Project title, top of HTML page
project = "PyHAT - Python Hyperspectral Analysis Tool"

# Project version number
release = "0.1.0"

# Name of the master documentation file, appends .rst automatically
master_doc = "index"

# Theme of the documentation, see sphinx website for more
html_theme = "sphinx_rtd_theme"
